package com.woniu.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.Value;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Component
@ApiModel(value = "搜索靶场DTO")
public class SearchTrainingDTO {

      @ApiModelProperty("用户ID")
      private Integer userId;

      @ApiModelProperty("靶场名称")
      private String trainingName;

      @ApiModelProperty("靶场父ID")
      private String trainingParentId;

      @ApiModelProperty("靶场难度")
      private Byte difficulty;

      @ApiModelProperty("是否vip")
//      1 表示是VIP，0表示非VIP
      private Byte isVip;

      @ApiModelProperty("排序方式")
//      1 按照热度降序排序，2 按照最新排序，3按照价格降序排序，4按照价格升序排序
      private Byte sort;

}
